<html>
<head>
<script language="javascript" type="text/javascript"
	src="<?php echo base_url()?>js/jquery/jquery-1.5.min.js"></script>
</head>
<body>
<h4 id="message">Preparing To Crawl....</h4>
		<script language="javascript">
			function loadHouseContent(url) {
				$.ajax({
				  url: url,
				  success: function(data){
				    document.write(data);
				    document.write("<br/>");
				  }
				});							
			}
		</script>
		<?php foreach ($collection as $house):?>
			<script language="javascript">
				$(document).ready(function() {
					loadHouseContent('<?php echo (base_url().'auto/category/getHouseData/id/'.$house->getId()); ?>');;	
				});
			</script>
		<?php endforeach; ?>
</body>
</html>